#ifndef MTMETHODCALL_H
#define MTMETHODCALL_H

#include "MTExpression.hpp"
#include "MTIdentifier.hpp"

namespace MathematicaTranslator {

	/** 
	  *  Function invocation representation.
	  */
	class MTMethodCall : public MTExpression {

	public: 
		/// Function indentifier
		MTIdentifier &id;
		/// Actual argument list
		ExpressionList exprList;

		MTMethodCall(MTIdentifier &id, ExpressionList &exprList) 
			: id(id), exprList(exprList) {}

		virtual std::string* generateCode(CodeGenContext& context);
	};

}
#endif
